package com.ttk.issuetracker.dao;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.AbstractTransactionalJUnit4SpringContextTests;

@ContextConfiguration("/testingContext.xml")
public abstract class AbstractDaoForTesting extends AbstractTransactionalJUnit4SpringContextTests {
	protected final Logger logger = LoggerFactory.getLogger(this.getClass());
	
	@Autowired(required = true)
	protected CompanyDao companyDao;
	@Autowired(required = true)
	protected ProjectDao projectDao;
	@Autowired(required = true)
	protected TaskDao taskDao;
	@Autowired(required = true)
	protected UserDao userDao;
	@Autowired(required = true)
	protected TaskLogDao taskLogDao;
}
